package com.sgcc.activiti.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 资讯查询对象 o_content_app_schema
 *
 * @author sgcc
 * @date 2021-04-07
 */
public class OContentAppSchema extends ProcessEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 工单编号
     */
    @Excel(name = "工单编号")
    private String id;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /**
     * 逻辑删除标记（0：显示；1：隐藏）
     */
    @Excel(name = "逻辑删除标记", readConverterExp = "0=：显示；1：隐藏")
    private String delFlag;

    /**
     * $column.columnComment
     */
    @Excel(name = "逻辑删除标记", readConverterExp = "$column.readConverterExp()")
    private String appNo;

    /**
     * 维护类型
     */
    @Excel(name = "维护类型")
    private String serviceType;

    /**
     * 网上国网资讯ID
     */
    @Excel(name = "网上国网资讯ID")
    private String newId;

    /**
     * 资讯标题
     */
    @Excel(name = "资讯标题")
    private String contentTitle;

    /**
     * 资讯发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "资讯发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;

    /**
     * 展示频道
     */
    @Excel(name = "展示频道")
    private String contentScene;

    /**
     * 资讯简讯
     */
    @Excel(name = "资讯简讯")
    private String contentDetails;

    /**
     * 发布区域
     */
    @Excel(name = "发布区域")
    private String releaseScope;

    /**
     * 信息来源
     */
    @Excel(name = "信息来源")
    private String contentinFormtion;

    /**
     * 作者
     */
    @Excel(name = "作者")
    private String contentAuthor;

    /**
     * 资讯类型
     */
    @Excel(name = "资讯类型")
    private String mationType;

    /**
     * 资讯标签
     */
    @Excel(name = "资讯标签")
    private String publishType;

    /**
     * banner图片
     */
    @Excel(name = "banner图片")
    private String bannerpicId;

    /**
     * 资讯详情图片
     */
    @Excel(name = "资讯详情图片")
    private String contentPicids;

    /**
     * 资讯详情
     */
    @Excel(name = "资讯详情")
    private String contentApp;

    /**
     * 当前环节
     */
    @Excel(name = "当前环节")
    private String actName;

    /**
     * 流程状态
     */
    @Excel(name = "流程状态")
    private String flowType;

    /**
     * 流程实例id
     */
    @Excel(name = "流程实例id")
    private String procInsId;

    /**
     * 工单到达时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "工单到达时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date arriveTime;

    /** 工单编号 */
//    @Excel(name = "工单编号")
//    private String orderNo;

    /**
     * 备注信息
     */
    @Excel(name = "备注信息")
    private String remarks;

    /**
     * 远程资讯id
     */
    @Excel(name = "远程资讯id")
    private String appId;

    private String applyUserName;
    private String applyUserId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;
    private String instanceId;
    private String processKey;
    /**
     * 流程保留字段
     */
    private String processId;
    private String processName;
    private String processState;

    private String assignee;
    private List<String> roleKey;

    private String bannerUrl;//banner图片地址
    private String contentPicUrls;//多个资讯详情图片地址
    private String oldBannerId;//原有banner图片id
    private String oldContentPicids;//原有资讯详情图片id
    private String type;
    private String lockState;
    private String  lockingBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lockingTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }
    public void setLockState(String lockState) {
        this.lockState = lockState;
    }

    public String getLockState() {
        return lockState;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public String getContentPicUrls() {
        return contentPicUrls;
    }

    public void setContentPicUrls(String contentPicUrls) {
        this.contentPicUrls = contentPicUrls;
    }

    public String getOldBannerId() {
        return oldBannerId;
    }

    public void setOldBannerId(String oldBannerId) {
        this.oldBannerId = oldBannerId;
    }

    public String getOldContentPicids() {
        return oldContentPicids;
    }

    public void setOldContentPicids(String oldContentPicids) {
        this.oldContentPicids = oldContentPicids;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public List<String> getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(List<String> roleKey) {
        this.roleKey = roleKey;
    }

    public String getProcessState() {
        return processState;
    }

    public void setProcessState(String processState) {
        this.processState = processState;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public String getApplyUserName() {
        return applyUserName;
    }

    public void setApplyUserName(String applyUserName) {
        this.applyUserName = applyUserName;
    }

    public String getApplyUserId() {
        return applyUserId;
    }

    public void setApplyUserId(String applyUserId) {
        this.applyUserId = applyUserId;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public String getProcessKey() {
        return processKey;
    }

    public void setProcessKey(String processKey) {
        this.processKey = processKey;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setAppNo(String appNo) {
        this.appNo = appNo;
    }

    public String getAppNo() {
        return appNo;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setNewId(String newId) {
        this.newId = newId;
    }

    public String getNewId() {
        return newId;
    }

    public void setContentTitle(String contentTitle) {
        this.contentTitle = contentTitle;
    }

    public String getContentTitle() {
        return contentTitle;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setContentScene(String contentScene) {
        this.contentScene = contentScene;
    }

    public String getContentScene() {
        return contentScene;
    }

    public void setContentDetails(String contentDetails) {
        this.contentDetails = contentDetails;
    }

    public String getContentDetails() {
        return contentDetails;
    }

    public void setReleaseScope(String releaseScope) {
        this.releaseScope = releaseScope;
    }

    public String getReleaseScope() {
        return releaseScope;
    }

    public void setContentinFormtion(String contentinFormtion) {
        this.contentinFormtion = contentinFormtion;
    }

    public String getContentinFormtion() {
        return contentinFormtion;
    }

    public void setContentAuthor(String contentAuthor) {
        this.contentAuthor = contentAuthor;
    }

    public String getContentAuthor() {
        return contentAuthor;
    }

    public void setMationType(String mationType) {
        this.mationType = mationType;
    }

    public String getMationType() {
        return mationType;
    }

    public void setPublishType(String publishType) {
        this.publishType = publishType;
    }

    public String getPublishType() {
        return publishType;
    }

    public void setBannerpicId(String bannerpicId) {
        this.bannerpicId = bannerpicId;
    }

    public String getBannerpicId() {
        return bannerpicId;
    }

    public void setContentPicids(String contentPicids) {
        this.contentPicids = contentPicids;
    }

    public String getContentPicids() {
        return contentPicids;
    }

    public void setContentApp(String contentApp) {
        this.contentApp = contentApp;
    }

    public String getContentApp() {
        return contentApp;
    }

    public void setActName(String actName) {
        this.actName = actName;
    }

    public String getActName() {
        return actName;
    }

    public void setFlowType(String flowType) {
        this.flowType = flowType;
    }

    public String getFlowType() {
        return flowType;
    }

    public void setProcInsId(String procInsId) {
        this.procInsId = procInsId;
    }

    public String getProcInsId() {
        return procInsId;
    }

    public void setArriveTime(Date arriveTime) {
        this.arriveTime = arriveTime;
    }

    public Date getArriveTime() {
        return arriveTime;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppId() {
        return appId;
    }

    public String getLockingBy() {
        return lockingBy;
    }

    public void setLockingBy(String lockingBy) {
        this.lockingBy = lockingBy;
    }

    public Date getLockingTime() {
        return lockingTime;
    }

    public void setLockingTime(Date lockingTime) {
        this.lockingTime = lockingTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createDate", getCreateDate())
                .append("updateBy", getUpdateBy())
                .append("updateDate", getUpdateDate())
                .append("delFlag", getDelFlag())
                .append("appNo", getAppNo())
                .append("serviceType", getServiceType())
                .append("newId", getNewId())
                .append("contentTitle", getContentTitle())
                .append("releaseTime", getReleaseTime())
                .append("contentScene", getContentScene())
                .append("contentDetails", getContentDetails())
                .append("releaseScope", getReleaseScope())
                .append("contentinFormtion", getContentinFormtion())
                .append("contentAuthor", getContentAuthor())
                .append("mationType", getMationType())
                .append("publishType", getPublishType())
                .append("bannerpicId", getBannerpicId())
                .append("contentPicids", getContentPicids())
                .append("contentApp", getContentApp())
                .append("actName", getActName())
                .append("flowType", getFlowType())
                .append("procInsId", getProcInsId())
                .append("arriveTime", getArriveTime())
//                .append("orderNo", getOrderNo())
                .append("remarks", getRemarks())
                .append("appId", getAppId())
                .toString();
    }
}
